import { ApiProperty } from '@nestjs/swagger';

export class ResSuccessDto {
  @ApiProperty({
    required: true,
  })
  success: boolean;
}

export class ResFailDto {
  @ApiProperty({
    required: true,
    default: false,
  })
  success: boolean;

  @ApiProperty({
    required: true,
  })
  message: string;
}
